<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> 
<head>
<%@ include file="../../include/easyui.jsp" %>
<%@ include file="../../include/pForm.jsp" %>
<title>表单新增页面</title>
</head>
<body>
	<div class="easyui-panel" data-options="fit:true,border:false" style="padding:10px;">
		<!-- 替换自动form表单 -->
		<form id="easyuiForm" method="post" action="/console/jForm/rewrite/newAdd"   >
		 <input type="hidden" name="className" value="com.fs.flow.pojo.JForm" />
		 <input type="hidden" name="createrId" value="${SESSION_USER.user.id}" />
		 <input type="hidden" name="fStatus" value="初始" />
			 <div style="margin-bottom:20px">
			  	<input class="easyui-textbox easyui-validatebox" name="fName" style="width:300px;" data-options="labelWidth:80,label:'表单名称:',required:true" />
			 </div>
			 
			 <div style="margin-bottom:20px">
			  	<input class="easyui-textbox easyui-validatebox" name="fTableName" style="width:300px;" data-options="labelWidth:80,label:'数据库表:',required:true,validType:['length[1,15]','remote[\'/console/jForm/remote\',\'fTableName\']']" />
			 </div>
			 
			 <div style="margin-bottom:20px">
			 	<select class="easyui-combobox" name="fSqlTemplate" style="width:300px;" data-options="label:'建表模板:',required:true">   
			     	<option value="t1">简单表16个字段</option> 
		    		<option value="t2">普通表单26个字段</option>   
		    		<option value="t3">普通表单35个字段</option>
				</select> 
			 </div>
			 
			<div style="margin-bottom:20px">
			  	 <select class="easyui-combobox" name="fType"  style="width:300px;" data-options="labelWidth:80,label:'表单类型:',valueField:'text',panelHeight:140" 
					url="/console/dictionary/combotree?valueField=dicName&textField=dicName&modleName=dictionary&pCode=C7&pCode_searchType=eq" >
			 	</select>
			 </div>
			
			 <div style="margin-bottom:20px">
			  	<input class="easyui-textbox" name="fDesc" multiline="true" style="width:300px;height:80px;"  data-options="labelWidth:80,label:'表单描述:',required:false,validType:'length[0,500]'"  />
			 </div>
			 
		</form>
	</div>
<script>
$(function(){
});
</script>
</body>
</html>